package br.com.projetoia.dama;

public class House {

	private int value;

	private Walker walker;

	private Position position;

	public House() {
	}

	public House(House house) {
		this.setPosition(new Position(house.getPosition()));
		this.setValue(house.getValue());
		if (house.getWalker() != null) {
			this.setWalker(new Walker(house.getWalker()));
		}
	}

	public int getValue() {
		return this.value;
	}

	public void setValue(int value) {
		this.value = value;
	}

	public Walker getWalker() {
		return this.walker;
	}

	public void setWalker(Walker walker) {
		this.walker = walker;
	}

	public Position getPosition() {
		return this.position;
	}

	public void setPosition(Position position) {
		this.position = position;
	}

}
